All Questions
2 questions
2votes
1answer
2kviews
Should I check floating point values in a unit test?
We have unit tests that are running some underlying model. We provide it with some test input, and receive some outputs + floating point scores. What's a good practice from a unit-testing standpoint? ...
1vote
2answers
149views
Balancing function call overhead and testability in a code that is a part of the deep learning model training loop
I am currently implementing the transformer architecture for sequence to sequence problems. Key part of the model is the attention mechanism, which is basically a matrix multiplication, followed by a ...